package com.sinosoft.product;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.compass.annotations.Searchable;
import org.compass.annotations.SearchableId;
import org.compass.annotations.SearchableProperty;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * ZywxImage2 entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
@Entity
@Table(name = "ZYWX_IMAGE_5")
@Cache(usage = CacheConcurrencyStrategy.READ_ONLY)
@Searchable
public class ZywxImage5 implements java.io.Serializable {
	private String receivestationid;
	private String productlevel;

	private BigDecimal imagegsd;
	private Date scenedate;
	private String bandnumber;
	private BigDecimal scenepath;
	private BigDecimal scenerow;
	private String sensorid;
	private String satelliteid;
	private String productid;
	private Date productdate;
	private String producttype;

	private String mapprojection;
	private String earthmodel;
	private BigDecimal centerlatitude;
	private BigDecimal centerlongitude;
	private Double topleftlatitude;
	private Double topleftlongitude;
	private Double toprightlatitude;
	private Double toprightlongitude;
	private Double bottomrightlatitude;
	private Double bottomrightlongitude;
	private Double bottomleftlatitude;
	private Double bottomleftlongitude;
	private String dataarchivefile;
	private String browsefilelocation;
	private String metadataid;
	private String isspatial;
	private Date recorddate;
	
	@Column(name = "METADATAID")
	@SearchableProperty
	public String getMetadataid() {
		return metadataid;
	}

	public void setMetadataid(String metadataid) {
		this.metadataid = metadataid;
	}

	@Column(name = "ISSPATIAL")
	@SearchableProperty
	public String getIsspatial() {
		return isspatial;
	}

	public void setIsspatial(String isspatial) {
		this.isspatial = isspatial;
	}

	public Date getRecorddate() {
		return recorddate;
	}

	public void setRecorddate(Date recorddate) {
		this.recorddate = recorddate;
	}

	// usertype
	// recorddate
	// overalldataquality

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "PRODUCTID")
	@SearchableId
	public String getProductid() {
		return productid;
	}

	@Column(name = "SATELLITEID")
	@SearchableProperty
	public String getSatelliteid() {
		return this.satelliteid;
	}

	public void setSatelliteid(String satelliteid) {
		this.satelliteid = satelliteid;
	}

	@Column(name = "SENSORID")
	@SearchableProperty
	public String getSensorid() {
		return this.sensorid;
	}

	public void setSensorid(String sensorid) {
		this.sensorid = sensorid;
	}

	@Column(name = "RECEIVESTATIONID")
	@SearchableProperty
	public String getReceivestationid() {
		return this.receivestationid;
	}

	public void setReceivestationid(String receivestationid) {
		this.receivestationid = receivestationid;
	}

	@Column(name = "BROWSEFILELOCATION")
	@SearchableProperty
	public String getBrowsefilelocation() {
		return this.browsefilelocation;
	}

	public void setBrowsefilelocation(String browsefilelocation) {
		this.browsefilelocation = browsefilelocation;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	@Column(name = "PRODUCTDATE")
	@SearchableProperty
	public Date getProductdate() {
		return productdate;
	}

	public void setProductdate(Date productdate) {
		this.productdate = productdate;
	}

	@Column(name = "MAPPROJECTION")
	@SearchableProperty
	public String getMapprojection() {
		return mapprojection;
	}

	public void setMapprojection(String mapprojection) {
		this.mapprojection = mapprojection;
	}

	@Column(name = "PRODUCTTYPE")
	@SearchableProperty
	public String getProducttype() {
		return producttype;
	}

	public void setProducttype(String producttype) {
		this.producttype = producttype;
	}

	@Column(name = "EARTHMODEL")
	@SearchableProperty
	public String getEarthmodel() {
		return earthmodel;
	}

	public void setEarthmodel(String earthmodel) {
		this.earthmodel = earthmodel;
	}

	@Column(name = "PRODUCTLEVEL")
	@SearchableProperty
	public String getProductlevel() {
		return productlevel;
	}

	public void setProductlevel(String productlevel) {
		this.productlevel = productlevel;
	}

	@Column(name = "SCENEDATE")
	@SearchableProperty
	public Date getScenedate() {
		return scenedate;
	}

	public void setScenedate(Date scenedate) {
		this.scenedate = scenedate;
	}

	@Column(name = "BANDNUMBER")
	@SearchableProperty
	public String getBandnumber() {
		return bandnumber;
	}

	public void setBandnumber(String bandnumber) {
		this.bandnumber = bandnumber;
	}

	@Column(name = "SCENEPATH")
	@SearchableProperty
	public BigDecimal getScenepath() {
		return scenepath;
	}

	public void setScenepath(BigDecimal scenepath) {
		this.scenepath = scenepath;
	}

	@Column(name = "SCENEROW")
	@SearchableProperty
	public BigDecimal getScenerow() {
		return scenerow;
	}

	public void setScenerow(BigDecimal scenerow) {
		this.scenerow = scenerow;
	}

	@Column(name = "IMAGEGSD")
	@SearchableProperty
	public BigDecimal getImagegsd() {
		return imagegsd;
	}

	public void setImagegsd(BigDecimal imagegsd) {
		this.imagegsd = imagegsd;
	}

	@Column(name = "CENTERLATITUDE")
	@SearchableProperty
	public BigDecimal getCenterlatitude() {
		return centerlatitude;
	}

	public void setCenterlatitude(BigDecimal centerlatitude) {
		this.centerlatitude = centerlatitude;
	}

	@Column(name = "CENTERLONGITUDE")
	@SearchableProperty
	public BigDecimal getCenterlongitude() {
		return centerlongitude;
	}

	public void setCenterlongitude(BigDecimal centerlongitude) {
		this.centerlongitude = centerlongitude;
	}

	@Column(name = "TOPLEFTLATITUDE")
	@SearchableProperty
	public Double getTopleftlatitude() {
		return topleftlatitude;
	}

	public void setTopleftlatitude(Double topleftlatitude) {
		this.topleftlatitude = topleftlatitude;
	}

	@Column(name = "TOPLEFTLONGITUDE")
	@SearchableProperty
	public Double getTopleftlongitude() {
		return topleftlongitude;
	}

	public void setTopleftlongitude(Double topleftlongitude) {
		this.topleftlongitude = topleftlongitude;
	}

	@Column(name = "TOPRIGHTLATITUDE")
	@SearchableProperty
	public Double getToprightlatitude() {
		return toprightlatitude;
	}

	public void setToprightlatitude(Double toprightlatitude) {
		this.toprightlatitude = toprightlatitude;
	}

	@Column(name = "TOPRIGHTLONGITUDE")
	@SearchableProperty
	public Double getToprightlongitude() {
		return toprightlongitude;
	}

	public void setToprightlongitude(Double toprightlongitude) {
		this.toprightlongitude = toprightlongitude;
	}

	@Column(name = "BOTTOMRIGHTLATITUDE")
	@SearchableProperty
	public Double getBottomrightlatitude() {
		return bottomrightlatitude;
	}

	public void setBottomrightlatitude(Double bottomrightlatitude) {
		this.bottomrightlatitude = bottomrightlatitude;
	}

	@Column(name = "BOTTOMRIGHTLONGITUDE")
	@SearchableProperty
	public Double getBottomrightlongitude() {
		return bottomrightlongitude;
	}

	public void setBottomrightlongitude(Double bottomrightlongitude) {
		this.bottomrightlongitude = bottomrightlongitude;
	}

	@Column(name = "BOTTOMLEFTLATITUDE")
	@SearchableProperty
	public Double getBottomleftlatitude() {
		return bottomleftlatitude;
	}

	public void setBottomleftlatitude(Double bottomleftlatitude) {
		this.bottomleftlatitude = bottomleftlatitude;
	}

	@Column(name = "BOTTOMLEFTLONGITUDE")
	@SearchableProperty
	public Double getBottomleftlongitude() {
		return bottomleftlongitude;
	}

	public void setBottomleftlongitude(Double bottomleftlongitude) {
		this.bottomleftlongitude = bottomleftlongitude;
	}

	@Column(name = "DATAARCHIVEFILE")
	@SearchableProperty
	public String getDataarchivefile() {
		return dataarchivefile;
	}

	public void setDataarchivefile(String dataarchivefile) {
		this.dataarchivefile = dataarchivefile;
	}

}